package Features;


public class FeatureAbbreviation extends Feature{

	public FeatureAbbreviation(String argumento) {
		activo = argumento.toLowerCase().contains("abr");
	}

	public String extractSentence(String sentence){
		String[] divisaoAbreviaturas = sentence.split("\\. ");
		if(divisaoAbreviaturas.length>1)
			return "1";
		return "0";
	}
	
}
